<!DOCTYPE html>
<!-- saved from url=(0040)http://www.toutoupiao.com/MyList/Comment -->
<html lang="zh" class=" js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths"><!--<![endif]--><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://www.toutoupiao.com/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><title>
	我的菜单
</title><link href="{{asset('/css/style.min.css')}}" rel="stylesheet">
  <style>
   #div99{
            position:fixed;
            top:0;
            left:0;
            bottom:0;
            right:0;
            z-index:-1;
            }
            div#div99 > img {
            height:100%;
            width:100%;
            border:0;
            }
  </style>


</head>
<body class="right-sb">
<div id="div99"><img src="{{asset('/images/1.jpg')}}"/></div>

    

    <div class="container">
        

<!-- Start Header -->
<header class="header-wrap clearfix"><div class="slicknav_menu"><a href="{{url('/not')}}" aria-haspopup="true" tabindex="0" class="slicknav_btn slicknav_collapsed" style="outline: none;"><span class="slicknav_menutxt">MENU</span><span class="slicknav_icon"><span class="slicknav_icon-bar"></span><span class="slicknav_icon-bar"></span><span class="slicknav_icon-bar"></span></span></a><nav class="slicknav_nav slicknav_hidden" aria-hidden="true" role="menu" style="display: none;">
        <div class="menu-navigation-container">
            <ul class="menu">
                
                <li class="slicknav_collapsed slicknav_parent"><a href="{{url('/not')}}" role="menuitem" aria-haspopup="true" tabindex="-1" class="slicknav_item" style="outline: none;"><a class="username" href="http://www.toutoupiao.com/Account" title="管理">FBhongwei</a>
                    <span class="slicknav_arrow">►</span></a><ul class="sub-menu slicknav_hidden" role="menu" aria-hidden="true" style="display: none;">
                        <li><a href="{{url('/createVote')}}" role="menuitem" tabindex="-1">发起投票</a></li>
                        <li><a href="{{url('/prev')}}" role="menuitem" tabindex="-1">我的菜单</a></li>

                    </ul>
                </li>

                <li>

                    <a href="{{url('auth/logout')}}">注销</a>

                </li>

            </ul>
        </div>
    </nav></div>
    <div class="logo" role="banner">
        <a href="/" title="投票网" rel="home">
            <div class="logo-text">
                <h1 class="logo-name" style="color:limegreen">必赢投票网</h1>
            </div>
        </a>
    </div>
    <nav class="main-nav clearfix">
        <div class="menu-navigation-container">
            <ul id="menu-navigation" class="menu">
                @if (Auth::check())
                    <li><a class="username" href="" title="管理">{{ Auth::user()->name }}</a>
                        <ul class="sub-menu">
                            <li><a href="{{url('createTextVote')}}">文字投票</a></li>
                            <li><a href="{{url('createImgVote')}}">图片投票</a></li>
                            <li><a href="{{url('prev')}}">我的菜单</a></li>
                        </ul>
                    </li>
                    <li>

                        <a href="{{url('auth/logout')}}">注销</a>

                    </li>
                @else
                    <li><a id="registerLink" href="{{url('auth/register')}}">注册</a></li>
                    <li><a id="loginLink" href="{{url('auth/login')}}">登录</a></li>
                @endif
            </ul>
        </div>
    </nav>
</header>
<!-- End Header -->

        <div id="full-width-template">
            <div class="content-section loop-container clearfix">

                <div class="row clearfix">
                    <div class="col-1-3">

                        <h3 class="center-container"><a href="{{url('')}}"></a></h3>

                    </div>
                    <div class="col-1-3">

                        <h3 class="center-container current" >我的投票</h3>

                    </div>
                    <div class="col-1-3">

                        <h3 class="center-container"><a href="{{url('')}}"></a></h3>

                    </div>
                </div>

            </div>

            @if($data)

            <div class="fixed-table-body loop-container">

                <table>
                    <thead>
                    <tr>
                        <th>投票标题</th>
                        <th>发布日期</th>
                        <th>总票数</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    @foreach($data as $d)
                    <tbody>

                    <tr>
                        <td>

                            <a href="{{url('vote',[$d['tid']])}}">{{$d['title']}}</a>

                        </td>
                        <td>
                            {{date('Y年m月d日',$d['pub_time'])}}
                        </td>
                        <td>

                            {{$d['tid']}}

                        </td>
                        <td>
                            
                            <a href="{{url('delVote',[$d['tid']])}}">删除</a>
                        </td>
                    </tr>

                    </tbody>
                    @endforeach
                </table>

            </div>

            <div class="pagination loop-pagination clearfix">

                <span class="page-numbers current">1</span>

            </div>
            @else

            <div class="fixed-table-body loop-container">
            暂无数据
            </div>

            @endif

        </div>


    </div>




</body></html>